package com.zackratos.navbarexist.sample

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import com.zackratos.navbarexist.navbarexist.navBarExist

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        val tvExist = findViewById<TextView>(R.id.tvExist)
        navBarExist {
            Log.d("MainActivity", "navBarExist == $it")
            tvExist.text = it.toString()
        }
    }
}